package io.renren.modules.generator.service;

import io.renren.modules.generator.entity.WarnEntity;

import java.util.List;
import java.util.Map;

/**
 * 载畜量预警
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2018-05-02 13:20:17
 */
public interface WarnService {
	
	WarnEntity queryObject(Integer id);
	
	List<WarnEntity> queryList(Map<String, Object> map);
	List<WarnEntity> warnList(Map<String, Object> map);
	int warnTotal(Map<String, Object> map);
	int queryTotal(Map<String, Object> map);
	
	void save(WarnEntity warn);
	
	void update(WarnEntity warn);
	
	void delete(Integer id);
	
	void deleteBatch(Integer[] ids);
}
